package com.marshall.scstudy.dao;

import com.marshall.scstudy.entities.Payment;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;


/**
 * Created by
 * autor : Marshall lky
 * datetime: 2021/10/28 17:34
 */
@Mapper
public interface PaymentDao {

    int create(Payment payment);

    Payment getPaymentById(@Param("id") Long id);

}
